package orchestration.businessprocess.model.nodes;

import java.util.Set;

import orchestration.businessprocess.model.BPArtifact;
import orchestration.businessprocess.model.BPNodeId;
import orchestration.businessprocess.model.IBPVisitor;

/**
 * A class that models an EndEvent it should not have output data,
 * nor successor nodes
 * @author <a href="mailto:car.ferrarini@gmail.com">Carlo Ferrarini</a>
 *
 */
public class BPEndEvent extends BPNode {
	
	BPEndEvent(BPNodeId id,Set<BPArtifact> input) {
		super(id, BPNode.NODE_TYPE_END_EV,input,null);
	}

	public BPEndEvent(BPNodeId id) {
		super(id, BPNode.NODE_TYPE_END_EV,null,null);
	}

	@Override
	public void accept(IBPVisitor visitor) {
		visitor.visit(this);
	}
}
